home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / hity wydania / Ubuntu 9.10 PL / karmelkowy-koliberek-desktop-9.10-i386-PL.iso / casper / filesystem.squashfs / var / lib / dpkg / info / wpolish.postrm < prev    next >
Text File  |  2009-04-13  |  732b  |  27 lines

  1. #!/bin/sh
  2. set -e
  3. # Automatically added by dh_installdebconf
  4. if [ "$1" = purge ] && [ -e /usr/share/debconf/confmodule ]; then
  5.     . /usr/share/debconf/confmodule
  6.     db_purge
  7. fi
  8. # End automatically added section
  9. # Automatically added by installdeb-wordlist
  10. rmscript="remove-default-wordlist"
  11.  
  12. case "$1" in abort-install|remove)
  13.     if which $rmscript > /dev/null 2>&1; then
  14.         $rmscript wpolish
  15.     else
  16.         echo "Error: $rmscript not present or executable. Missing dependency on dictionaries-common?" >&2
  17.         exit 1
  18.     fi
  19.  
  20.         # Remove shared question stuff on package removal, not only on purge
  21.     if [ -e /usr/share/debconf/confmodule ]; then
  22.         . /usr/share/debconf/confmodule
  23.         db_purge
  24.     fi
  25. esac
  26. # End automatically added section
  27.